tinydict = {'a': 1, 'b': 2, 'b': '3'}
print(tinydict['b'])
print(tinydict)

tinydict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}

print("tinydict['Name']: ", tinydict['Name'])
print("tinydict['Age']: ", tinydict['Age'])

tinydict = {'Name': 'Runoob', 'Age': 7, 'Class': 'First'}

# print "tinydict['Alice']: ", tinydict['Alice']


tinydict = {'Name': 'Zara', 'Age': 8, 'Class': 'First', 'School': "RUNOOB"}

print("tinydict['Age']: ", tinydict['Age'])
print("tinydict['School']: ", tinydict['School'])

tinydict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}

del tinydict['Name']  # 删除键是'Name'的条目
tinydict.clear()      # 清空字典所有条目
del tinydict          # 删除字典

# print("tinydict['Age']: ", tinydict['Age'])
# print("tinydict['School']: ", tinydict['School'])


tinydict = {'Name': 'Runoob', 'Age': 7, 'Name': 'Manni'}

print("tinydict['Name']: ", tinydict['Name'])

tinydict = {['Name']: 'Zara', 'Age': 7}
# print("tinydict['Name']: ", tinydict['Name'])
